package heathot;

import heathot.dao.impl.BookDao;
import heathot.dao.impl.BookDaoimpl;
import heathot.entiy.Book;

public class Test {
	public static void main(String[] args) {
		
	
		
		BookDao dao = new BookDaoimpl();
		for(int j=0;j<=30;j++){
	     int i = dao.addBook(new Book(0,"java程序设计_"+j,"李兴华_"+j,"东华理工大学",66f));
		}
		
		//int i=dao.addBook(new Book(0,"java程序设计_","李兴华_","东华理工大学",66f));
		//if(i>0){
			//System.out.println(1);
		//}
		dao.selectBook(187);
	}

}
